package cn.edu.sgu.www.mhxysy.function.computer.score;

import cn.edu.sgu.www.mhxysy.function.computer.Computer;

import java.util.function.Function;

/**
 * 评分计算器接口
 * @author 沐雨橙风ιε
 * @version 1.0
 */
public interface ScoreComputer extends Computer, Function<String, Integer> {

    /**
     * 计算方法
     * @param param String
     * @return Integer
     */
    default Integer compute(String param) {
        return apply(param);
    }

}